package com.zhuangfei.timetable.operater;

import com.zhuangfei.timetable.TimetableView;
import ohos.agp.components.AttrSet;
import ohos.agp.components.DirectionalLayout;
import ohos.app.Context;

/**
 * 抽象的业务逻辑
 * Created by Liu ZhuangFei on 2018/9/2.
 */
public abstract class AbsOperater {

    /**
     * 初始化
     *
     * @param context 上下文
     * @param attrSet xml属性获取
     * @param view    控件
     */
    public void init(Context context, AttrSet attrSet, TimetableView view) {
    }

    public void showView() {
    }

    public void updateDateView() {
    }

    public void updateSlideView() {
    }

    public void changeWeek(int week, boolean isCurWeek) {
    }

    public DirectionalLayout getFlagLayout() {
        return null;
    }

    public DirectionalLayout getDateLayout() {
        return null;
    }

    public void setWeekendsVisiable(boolean isShow) {
    }

}
